import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '企业编码',
    align: "center",
    dataIndex: 'code'
  },
  {
    title: '企业名称',
    align: "center",
    dataIndex: 'companyName'
  },
  {
    title: '企业级次',
    align: "center",
    dataIndex: 'companyLevel'
  },
  {
    title: '使用状态',
    align: "center",
    dataIndex: 'useStatus'
  },
  {
    title: '资产大类',
    align: "center",
    dataIndex: 'assetTypeLevel'
  },
  {
    title: '资产类别',
    align: "center",
    dataIndex: 'assetType'
  },
  {
    title: '资产名称',
    align: "center",
    dataIndex: 'assetName'
  },
  {
    title: '计量单位',
    align: "center",
    dataIndex: 'unit'
  },
  {
    title: '账面数原始值',
    align: "center",
    dataIndex: 'bookOriginalValue'
  },
  {
    title: '账面数净值',
    align: "center",
    dataIndex: 'bookNetValue'
  },
  {
    title: '账面数数量',
    align: "center",
    dataIndex: 'bookQuantity'
  },
  {
    title: '备注',
    align: "center",
    dataIndex: 'remark'
  },
];

// 高级查询数据
export const superQuerySchema = {
  code: {title: '企业编码',order: 2,view: 'text', type: 'string',},
  companyName: {title: '企业名称',order: 3,view: 'text', type: 'string',},
  companyLevel: {title: '企业级次',order: 4,view: 'text', type: 'string',},
  useStatus: {title: '使用状态',order: 5,view: 'text', type: 'string',},
  assetTypeLevel: {title: '资产大类',order: 6,view: 'text', type: 'string',},
  assetType: {title: '资产类别',order: 7,view: 'text', type: 'string',},
  assetName: {title: '资产名称',order: 8,view: 'text', type: 'string',},
  unit: {title: '计量单位',order: 9,view: 'text', type: 'string',},
  bookOriginalValue: {title: '账面数原始值',order: 10,view: 'number', type: 'number',},
  bookNetValue: {title: '账面数净值',order: 11,view: 'number', type: 'number',},
  bookQuantity: {title: '账面数数量',order: 12,view: 'number', type: 'number',},
  remark: {title: '备注',order: 13,view: 'text', type: 'string',},
};
